Inspecting Variables
Inspecting variables in AutomatR Studio is a crucial aspect of debugging and troubleshooting your automation workflows. Variables store data and information that flow through your automation, and examining their values at different points in your workflow helps you identify issues and verify the correctness of your logic. Here's a brief overview of how to inspect variables in AutomatR Studio:
To inspect variables, you'll primarily use the Variables panel, which is typically located at the bottom of the UI in AutomatR Studio.
Initiate debugging by clicking the Debug button in the Execute tab or pressing F5. This action launches your workflow in debug mode.
When debugging, the workflow will pause either at breakpoints you've set or during step-through execution, allowing you to inspect variables.
The Locals panel displays a list of variables and their current values at the point where the workflow is paused. Variables in the Locals panel are categorized based on their scope: Arguments and Locals.
Select a variable from the Locals panel to view its current value. You can see the data stored in the variable, which can include text, numbers, dates, or other data types.
You can edit the values of variables directly in the Locals panel. This is useful for experimenting with different data values or making temporary changes during debugging.
While debugging, the variable you've selected in the Locals panel will be highlighted in the canvas, indicating where it's being used in your workflow. This helps you track how data flows through your automation.
After inspecting variables and making any necessary observations or changes, you can continue the execution of your workflow by clicking the Debug option from the Execute tab or pressing F5.
Inspecting variables in AutomatR Studio provides valuable insights into how data is processed and modified during the execution of your automation workflows. It's an essential practice for identifying and resolving issues, ensuring data accuracy, and fine-tuning your automation logic.